<extend name="Space/index" />
<block name="main">

<div id="wp" class="wp">
	<div id="pt" class="bm cl">
		<div class="z" style="position:relative;top:-12px">
			<a href="" class="nvhm" title="首页">MIUI论坛</a><em>›</em><a href="">相册</a><em>›</em> 上传图片
		</div>
	</div>
	<div id="ct" class="wp cl" style="position:relative;top:-30px">
		<div class="mn">
			<div class="bm">
				<div class="bm_h">
					<h1>上传图片</h1>
				</div>
				<div class="bm_c">
					
					<form method="post" id="albumform" action="<{:U('Space/doUpload',array('uid'=>$_GET['uid']))}>" enctype="multipart/form-data">
						<h2 class="mtw xs2">1. 选择图片</h2>
						<div class="xg1">
							<p>
								从电脑中选择您要上传的图片。<br>
								&nbsp;
							</p>
						</div>
						<div class="uploadform mtn ptm pbw">
							<table class="tfm up_row mbm" cellpadding="0" cellspacing="0">
							<tbody id="attachbody">
							</tbody>
							</table>
							<div class="fieldset flash" id="imgUploadProgress">
							</div>
							<div class="hm">
								<!--上传照片-->
								<input type="file" name="photo" />
								
							</div>
							
						</div>
						
						<h2 class="mtw xs2">2. 选择相册</h2>
						<div class="uploadform mtn ptw pbw">
							<p class="hm pbw xs2 xw1">
								创建新相册
							</p>
							
							<div id="creatalbum">
								<table class="tfm" cellpadding="0" cellspacing="0">
								<tbody>
								<tr>
									<th>
										相册名
									</th>
									<td>
										<input name="alname" id="albumname" class="px" size="20" value="我的相册" type="text" style="position:relative;left:-10px">
									</td>
								</tr>
								<tr>
									<th>
										相册描述
									</th>
									<td>
										<textarea name="altext" class="pt" cols="40" rows="3"></textarea>
									</td>
								</tr>
								
								</tbody>
								
								</table>
							</div>
						</div>
						<div class="mtm hm">
							
							<button type="submit" name="albumsubmit_btn" id="albumsubmit_btn" class="pn pnc" ><strong>开始上传</strong></button>
							
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>

</block>			